package com.int_tech.utils;

import javax.servlet.http.HttpServletResponse;

/**
 * Created by liubch on 2018/4/1.
 */
public class KuaYu {


    public static void kuaYuResponse(HttpServletResponse response) {
        response.setContentType("text/plain");
        response.setHeader("Pragma", "No-cache");
        response.setHeader("Cache-Control", "no-cache");
        response.setDateHeader("Expires", 0);
        response.setCharacterEncoding("UTF-8");
        response.setContentType("text/javascript;charset=utf-8");

        response.setHeader("Access-Control-Allow-Origin", "*");
    }
}
